package com.lnsf.bookstore.web.coupon.vo;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

public class ApiCoupon implements Serializable {
    /**
     *
     */
    private Integer id;

    /**
     * 劵码张数
     */
    private Integer amount;

    /**
     * 优惠券名称
     */
    private String name;

    /**
     * 劵码状态
     */
    private Integer status;

    /**
     *
     */
    private Date useStartTime;

    /**
     *
     */
    private Date useEndTime;

    /**
     *
     */
    private Date startDate;

    /**
     *
     */
    private Date endDate;

    /**
     *
     */
    private BigDecimal parPrice;

    /**
     *
     */
    private BigDecimal maxPrice;

    //显示的其他属性

    private Integer isReceive;


    private Integer subStatus;//是bs_user_coupon中的用户的优惠券的状态

    //可用 1:可用 0：不可用
    private Integer enabled = 0;

    private Integer userCouponNum;

    private Integer userId;

    public Integer getUserCouponNum() {
        return userCouponNum;
    }

    public void setUserCouponNum(Integer userCouponNum) {
        this.userCouponNum = userCouponNum;
    }

    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    public Integer getEnabled() {
        return enabled;
    }

    public void setEnabled(Integer enabled) {
        this.enabled = enabled;
    }

    /**
     * bs_coupon
     */
    private static final long serialVersionUID = 1L;

    /**
     *
     * @return id
     */
    public Integer getId() {
        return id;
    }

    /**
     *
     * @param id
     */
    public void setId(Integer id) {
        this.id = id;
    }

    /**
     * 劵码张数
     * @return amount 劵码张数
     */
    public Integer getAmount() {
        return amount;
    }

    /**
     * 劵码张数
     * @param amount 劵码张数
     */
    public void setAmount(Integer amount) {
        this.amount = amount;
    }

    /**
     * 优惠券名称
     * @return name 优惠券名称
     */
    public String getName() {
        return name;
    }

    /**
     * 优惠券名称
     * @param name 优惠券名称
     */
    public void setName(String name) {
        this.name = name;
    }

    /**
     * 劵码状态
     * @return status 劵码状态
     */
    public Integer getStatus() {
        return status;
    }

    /**
     * 劵码状态
     * @param status 劵码状态
     */
    public void setStatus(Integer status) {
        this.status = status;
    }

    /**
     *
     * @return useStart
     */
    public Date getUseStartTime() {
        return useStartTime;
    }

    /**
     *
     * @param useStartTime
     */
    public void setUseStartTime(Date useStartTime) {
        this.useStartTime = useStartTime;
    }

    /**
     *
     * @return useEnd
     */
    public Date getUseEndTime() {
        return useEndTime;
    }

    /**
     *
     * @param useEndTime
     */
    public void setUseEndTime(Date useEndTime) {
        this.useEndTime = useEndTime;
    }

    /**
     *
     * @return startDate
     */
    public Date getStartDate() {
        return startDate;
    }

    /**
     *
     * @param startDate
     */
    public void setStartDate(Date startDate) {
        this.startDate = startDate;
    }

    /**
     *
     * @return endDate
     */
    public Date getEndDate() {
        return endDate;
    }

    /**
     *
     * @param endDate
     */
    public void setEndDate(Date endDate) {
        this.endDate = endDate;
    }

    /**
     *
     * @return parPrice
     */
    public BigDecimal getParPrice() {
        return parPrice;
    }

    /**
     *
     * @param parPrice
     */
    public void setParPrice(BigDecimal parPrice) {
        this.parPrice = parPrice;
    }

    /**
     *
     * @return maxPrice
     */
    public BigDecimal getMaxPrice() {
        return maxPrice;
    }

    /**
     *
     * @param maxPrice
     */
    public void setMaxPrice(BigDecimal maxPrice) {
        this.maxPrice = maxPrice;
    }

    public Integer getSubStatus() {
        return subStatus;
    }

    public void setSubStatus(Integer subStatus) {
        this.subStatus = subStatus;
    }

    public Integer getIsReceive() {
        return isReceive;
    }

    public void setIsReceive(Integer isReceive) {
        this.isReceive = isReceive;
    }
}